package com.tanhua.service;

import com.tanhua.model.mongo.RecommendUser;
import com.tanhua.model.vo.PageResult;

import java.util.List;
import java.util.Map;

public interface RecommendUserApi {

    //查询缘分值最高的小姐姐
    RecommendUser queryWithMaxScore(Long toUserId);

    //分页查找推荐好友
    PageResult queryRecommendUserList(Long toUserId, Integer page, Integer pagesize);

    //查询用户与当前用户的缘分值
    RecommendUser getUserScore(Long userId, Long toUserId);

    List<RecommendUser> getRecommendFriend(Long id);

    Map<Long, RecommendUser> getUsers(List<Long> visitorUserId, Long userId);
}